package com.mocha.websocket;

import com.mocha.common.core.MochaException;
import com.mocha.common.core.ResponseCode;

/**
 * @author songkui
 * @since 2024/3/16 14:00
 */
public class MochaWSException extends MochaException {
    public MochaWSException(ResponseCode responseCode) {
        super(responseCode);
    }

    public MochaWSException(ResponseCode responseCode, int cmd) {
        super(responseCode, cmd);
    }

    public MochaWSException(String message) {
        super(message);
    }

    public MochaWSException(String msgCode, Throwable ex) {
        super(msgCode, ex);
    }
}
